import { mapGetters } from "vuex";
export default {
	data() {
		return {
		}
	},
	computed: mapGetters(['isLogin', 'userInfo', 'city']),
	onShow() {
		let curRoute = this.$mp.page.route; //当前页面路由
		if(!this.isLogin){
			// this.$utils.reLaunch('/login/phone-login',{
			// 	sourceUrl: curRoute
			// });
		} 
	}
}